<template>
 <div class="container" style="padding-top:50px;">
<el-card class="box-card">
  <div slot="header" class="clearfix">
      <h3 class="alert alert-info"> <span>{{info.noticeTitle}}</span></h3> 
  </div>
  <div>
    {{info.noticeContent}}
  </div>
</el-card>
 </div>
</template>

<script>
export default {
name: "noticeinfo",
data(){
    return {
        noticeId:this.$route.params.noticeId,
        info:{}
    };
},
created(){
    this.$axios
    .get('http://10.197.26.58:8001/getTnotice/' + this.$route.query.noticeId)
    .then((response) => {
        console.log(response)
        this.info = response.data
    })
    .catch(function(error){
        //请求失败处理
        console.log(error);
    });
}
}
</script>

<style scoped>


</style>
